import 'package:json_annotation/json_annotation.dart';

part 'xindong_city_class.g.dart';

@JsonSerializable()
class XinDongCityClass {
  late String name;
  List<XinDongCityClass>? sub;

  XinDongCityClass();

  factory XinDongCityClass.fromJson(Map<String, dynamic> json) => _$XinDongCityClassFromJson(json);

  Map<String, dynamic> toJson() => _$XinDongCityClassToJson(this);
}